home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Programming / Complete Applications / Help«» / HT.Help / HT.Help.rsrc / HELP_4_HELP ª TEXT < prev    next >
Encoding:
Text File  |  1985-08-23  |  1.2 KB  |  28 lines

  1. HELP » TEXT
  2.  
  3. This command converts a HELP resource into a 'TEXT' type file.
  4. Once again, on the differences between data files and resource
  5. files, see the 'Resource Manager' manual in 'Inside Macintosh'.
  6.  
  7. Converting a HELP resource into a text file is very similar to its
  8. companion (reverse) operation in that it is a multi-step process.
  9.  
  10. (1)  You start by selecting the command from the File menu.  A
  11. dialog box will then appear listing all files on the disk.  This is
  12. done because a HELP resource could exist anywhere, and we
  13. don't use a filterProc to detect just the files that do.
  14.  
  15. (2)  After you choose a resource file to use, another dialog will
  16. pop up asking you to provide the number of the HELP resource
  17. to be read (the name is not needed here).
  18.  
  19. (3)  After this step, a dialog appears to request you to give a
  20. filename to write the text into.  If a file with the given name already
  21. exists, you will get the message asking if you wish to replace the
  22. old file with the new file we are about to write.
  23.  
  24. Finally, the conversion takes place.  If there are any errors
  25. detected, then an alert box will appear with the appropriate
  26. message, otherwise there will be a box with the message
  27. 'No errors occurred'.
  28.